package com.china08.yxyapi.repository.db;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.china08.yxyapi.entity.db.res.YxyResType;

public interface YxyResTypeRepository extends JpaRepository<YxyResType, String> {

    YxyResType findByName(String string);

    YxyResType findById(String typeId);

    List<YxyResType> findByIdNotOrderByOrderNum(String string);

    List<YxyResType> findByOrderByOrderNum();

    List<YxyResType> findByIdNotInOrderByOrderNum(List<String> notList);

}
